from django.db import models


# Create your models here.
class User(models.Model):
    user_id = models.AutoField(primary_key=True)
    user_account = models.CharField(max_length=11)
    user_passwd = models.CharField(max_length=11)

    class Meta:
        db_table = 'userinfo'


class Address(models.Model):
    add_id = models.AutoField(primary_key=True)
    user_id = models.IntegerField(max_length=999)

    class Meta:
        db_table = 'addinfo'
